/*
 * @Description: flex布局样式
 * @Author: 无痕
 * @Email: 350801869@qq.com
 * @Date: 2021-10-19 13:39:10
 * @LastEditTime: 2023-03-21 15:11:03
 * @LastEditors: 无痕
 */
.s-flex {
  display: flex;
  flex-direction: row;

  &--column {
    flex-direction: column;
  }

  &--wrap {
    flex-wrap: wrap;
  }

  &--shrink {
    flex-shrink: 0;
  }

  &--justify-start {
    justify-content: flex-start;
  }

  &--justify-center {
    justify-content: center;
  }

  &--justify-end {
    justify-content: flex-end;
  }

  &--justify-space-between {
    justify-content: space-between;
  }

  &--justify-between {
    justify-content: space-between;
  }

  &--justify-space-around {
    justify-content: space-around;
  }

  &--justify-around {
    justify-content: space-around;
  }

  &--justify-space-evenly {
    justify-content: space-evenly;
  }

  &--justify-evenly {
    justify-content: space-evenly;
  }

  &--align-stretch {
    align-items: stretch;
  }

  &--align-start {
    align-items: flex-start;
  }

  &--align-center {
    align-items: center;
  }

  &--align-baseline {
    align-items: baseline;
  }

  &--align-end {
    align-items: flex-end;
  }

  @for $i from 1 through 10 {
    &-#{$i} {
      flex-grow: #{$i};
    }
  }
}